In econometrics and statistics, a fixed effects model is a statistical model that represents the observed quantities in terms of explanatory variables that are treated as if the quantities were non-random. This is in contrast to random effects models and mixed models in which either all or some of the explanatory variables are treated as if they arise from the random causes. Often the same structure of model, which is usually a linear regression model, can be treated as any of the three types depending on the analyst's viewpoint, although there may be a natural choice in any given situation.
In panel data analysis, the term fixed effects estimator (also known as the within estimator) is used to refer to an estimator for the coefficients in the regression model. If we assume fixed effects, we impose time independent effects for each entity that are possibly correlated with the regressors.
Contents |
Such models assist in controlling for unobserved heterogeneity when this heterogeneity is constant over time and correlated with independent variables. This constant can be removed from the data through differencing, for example by taking a first difference which will remove any time invariant components of the model.
There are two common assumptions made about the individual specific effect, the random effects assumption and the fixed effects assumption. The random effects assumption (made in a random effects model) is that the individual specific effects are uncorrelated with the independent variables. The fixed effect assumption is that the individual specific effect is correlated with the independent variables. If the random effects assumption holds, the random effects model is more efficient than the fixed effects model. However, if this assumption does not hold (i.e., if the Durbin–Watson test fails), the random effects model is not consistent.
Formally the model is
where is the dependent variable observed for individual at time is the time-variant regressor, is the time-invariant regressor, is the unobserved individual effect, and is the error term. could represent motivation, ability, genetics (micro data) or historical factors and institutional factors (country-level data).
The two main methods of dealing with are to make the random effects or fixed effects assumption:
1. Random effects (RE): Assume is independent of or . (In some biostatistical applications, are predetermined, and would be called the population effects or "fixed effects", and the individual effect or "random effect" is often denoted .)
2. Fixed effects (FE): Assume is not independent of . (There is no equivalent conceptualization in biostatistics; a predetermined cannot vary, and so cannot be probabilistically associated with the random .)
To get rid of individual effect a differencing or within transformation (time arranging) is applied to the data and then is estimated via Ordinary Least Squares (OLS). The most common differencing methods are:
1. Fixed effects (FE) model: where and .
where and
2. First difference (FD) model:
where and
3. Long difference (LD) model:
where and
Another common approach to removing the individual effect is to add a dummy variable for each individual . This is numerically, but not computationally, equivalent to the fixed effect model and only works if the number of time observations per individual, is much larger than the number of individuals in the panel.
A common misconception about fixed effect models is that it is impossible to estimate the coefficient on the time-invariant regressor. One can estimate using Instrumental Variables techniques.
Let
We can't use OLS to estimate from this equation because is correlated with (i.e. there is a problem with endogeneity from our FE assumption). If there are available instruments one can use IV estimation to estimate or use the Hausman–Taylor method.
The fixed effects estimator is:
Since each can be re-written as , we'll re-write the line as:
Thus the equality is established.
Need to have more than one time-variant regressor () and time-invariant regressor () and at least one and one that are uncorrelated with .
Partition the and variables such that where and are uncorrelated with . Need .
Estimating via OLS on using and as instruments yields a consistent estimate.
We can test whether a fixed or random effects model is appropriate using a Hausman test.
If is true, both and are consistent, but only is efficient. If is true, is consistent and is not.
The Hausman test is a specification test so a large test statistic might be indication that there might be Errors in Variables (EIV) or our model is misspecified. If the FE assumption is true, we should find that .
A simple heuristic is that if there could be EIV.